I have being working on a portfolio react project for over a month now and this is the first time I'm seeing this error. For some reason yarn start command stopped working. It was working before and now it stopped.
I'm using node version: v15.14.0
and yarn version : 1.22.10
{
"name": "profile",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"firebase": "^9.0.2",
"firebase-tools": "^9.18.0",
"focus-visible": "^5.2.0",
"html5-device-mockups": "^3.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-ga": "^3.3.0",
"react-lottie": "^1.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-toast-notifications": "^2.4.3",
"react-transition-group": "^4.4.1",
"typewriter-effect": "^2.17.0",
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
that's the package.json file.